package com.osgc.rf.np.url.dao;

import java.util.ArrayList;
import java.util.List;

import com.osgc.rf.np.url.util.base.MenuItem;


public class Group {
	private String id;
	private String name;
	private List<MenuItem> menu;

	public String getParamid() {
		return "groupid=" + id;
	}

	/**
	 * fxt must changed!
	 * 
	 * @param groupid
	 */
	public Group(String groupid, String groupname) {
		this.id = groupid;
		this.name = groupname;
		this.menu = new ArrayList<MenuItem>();
	}

	public String getId() {
		return id;

	}

	public String getName() {
		return name;
	}

	public List<MenuItem> getMenu() {
		return menu;
	}

	public void add(MenuItem menuitem) {
		this.menu.add(menuitem);
	}
}
